﻿using NetBrick.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityExample.Common;

class WelcomeHandler : PacketHandler
{
    public WelcomeHandler() : base(UnityExampleClient.Instance) { }

    public override void Process(object packetData)
    {
        UnityExampleClient.Instance.Id = ((WelcomePacket)packetData).Id;
        Client.DebugInfo("Assigned ID is {0}", UnityExampleClient.Instance.Id);
    }
}
